/* $Id: JControlsPanel.java 64 2010-02-14 13:53:27Z aaron.day $ */
package org.crazydays.gameplan.view.paint;


import javax.swing.JButton;
import javax.swing.JPanel;

import org.crazydays.gameplan.view.paint.action.SelectPaintBrush;

/**
 * JPaintControlsPanel
 */
public class JControlsPanel
    extends JPanel
{
    /** serial version uid */
    public final static long serialVersionUID =
        "$Id: JControlsPanel.java 64 2010-02-14 13:53:27Z aaron.day $"
            .hashCode();

    /** select paint brush */
    protected SelectPaintBrush selectPaintBrush;

    /**
     * Set select paint brush.
     * 
     * @param selectPaintBrush SelectPaintBrush
     */
    public void setSelectPaintBrush(SelectPaintBrush selectPaintBrush)
    {
        this.selectPaintBrush = selectPaintBrush;
    }

    /**
     * Initialize the paint controls buttons.
     */
    public void initialize()
    {
        add(new JButton(selectPaintBrush));
    }
}
